package chances.webui.taglibs;

@SuppressWarnings("serial")
public class DatepickerTag extends InputTag {
	
	private String beginName;
	private String endName;
	private String beginId;
	private String endId;
	private String beginValue;
    private String endValue;
	
	private String level;		//显示到的级别year,month,date
	private boolean duration;	//

	@Override
	protected void reset() {
		this.beginName = null;
		this.endName = null;
		this.duration = false;
		this.level = "date";
		super.reset();
	}
	public String getBeginName() {
		return beginName;
	}
	public void setBeginName(String beginName) {
		this.beginName = beginName;
	}
	public String getEndName() {
		return endName;
	}
	public void setEndName(String endName) {
		this.endName = endName;
	}
	public String getBeginId() {
		return beginId;
	}
	public void setBeginId(String beginId) {
		this.beginId = beginId;
	}
	public String getEndId() {
		return endId;
	}
	public void setEndId(String endId) {
		this.endId = endId;
	}
	public String getBeginValue() {
        return beginValue;
    }
    public void setBeginValue(String beginValue) {
        this.beginValue = beginValue;
    }
    public String getEndValue() {
        return endValue;
    }
    public void setEndValue(String endValue) {
        this.endValue = endValue;
    }
    public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public boolean isDuration() {
		return duration;
	}
	public void setDuration(boolean duration) {
		this.duration = duration;
	}
}
